package com.lazypeople.domain;

public interface DownloadInfo extends Runnable {
    String getTaskId();

    void pause();

    void resume();

    void cancel();

    DownloadStatus getStatus();

    long getDownloadedBytes();

    long getTotalBytes();

    float getProgress();

    void addProgressListener(ProgressListener listener);

    void removeProgressListener(ProgressListener listener);

}